<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Count Down Starts</title>


</head>
<body style="background-color:#EDEDED">





<p>Time until April 19, 2014</p>

<!-- START COUNTDOWN -->
<script src="countdown.js" type="text/javascript"></script>
<script type="application/javascript">

var myCountdownTest = new Countdown({
								 	year	: 2014,
									month	: 4, 
									day		: 19,
									width	: 300, 
									height	: 50
									});



</script>
<!-- END COUNTDOWN -->
<style>
#Container_jbeeb_6, #Container_jbeeb_10 {
display:none;
float:left;
}
#Stage_jbeeb_3 {
  left:-100px !important;
}
</style>

</body>
</html>
<?php

/*$datestr="2014-04-18 23:59:59";//Your date
//$date=strtotime($datestr);//Converted to a PHP date (a second count)

//Calculate difference
//$diff=$date-time();//time returns current time in seconds
//$days=floor($diff/(60*60*24));//seconds/minute*minutes/hour*hours/day)
//$hours=round(($diff-$days*60*60*24)/(60*60));

$cur_date = time();
$cur_date = date('Y-m-d H:i:s', $cur_date);
//print_r(strtotime($cur_date));
$diff = date_diff(date_create($cur_date), date_create($datestr));

$month = $diff->m;
$day = $diff->d;
$hour = $diff->h;
$minute = $diff->i;
$sec = $diff->s;

echo  $month . ' Month '. $day . ' Day ' . $hour . ' Hour ' . $minute . ' Minute' . $sec . ' Seconds'. ' To go';

//Report
//echo "$days days $hours hours  remain<br />";*/
?>
